package com.ruoyi.base.mapper;

import java.util.List;
import com.ruoyi.base.domain.ProcedureTeamRel;

/**
 * 工序-班组-关联Mapper接口
 * 
 * @author ruoyi
 * @date 2022-08-17
 */
public interface ProcedureTeamRelMapper 
{
    /**
     * 查询工序-班组-关联
     * 
     * @param id 工序-班组-关联主键
     * @return 工序-班组-关联
     */
    public ProcedureTeamRel selectProcedureTeamRelById(Long id);

    /**
     * 查询工序-班组-关联列表
     * 
     * @param procedureTeamRel 工序-班组-关联
     * @return 工序-班组-关联集合
     */
    public List<ProcedureTeamRel> selectProcedureTeamRelList(ProcedureTeamRel procedureTeamRel);

    /**
     * 新增工序-班组-关联
     * 
     * @param procedureTeamRel 工序-班组-关联
     * @return 结果
     */
    public int insertProcedureTeamRel(ProcedureTeamRel procedureTeamRel);

    /**
     * 修改工序-班组-关联
     * 
     * @param procedureTeamRel 工序-班组-关联
     * @return 结果
     */
    public int updateProcedureTeamRel(ProcedureTeamRel procedureTeamRel);

    /**
     * 删除工序-班组-关联
     * 
     * @param id 工序-班组-关联主键
     * @return 结果
     */
    public int deleteProcedureTeamRelById(Long id);

    /**
     * 批量删除工序-班组-关联
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteProcedureTeamRelByIds(Long[] ids);

    /**
     *
     * @param ids
     * @return
     */
    public int deleteProcedureTeamRelByProcedureNo(String[] ids);
}
